package com.nan.service;

import com.nan.model.Student;
import com.nan.model.Teacher;
import com.nan.dto.StudentTeacherDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * 学生服务接口
 */
public interface StudentService extends IService<Student> {
    
    /**
     * 根据学生ID获取对应的教师列表
     * @param studentId 学生ID
     * @return 教师列表
     */
    List<Teacher> getTeachersByStudentId(Long studentId);

    List<Integer> queryGroupByClassId(Long id);

    List<Student> getStudentByClassIdAndGroup(Long classId, Integer group);
}
